package com.penguins.main;

public class Board {
	
	private int square[][]; // + numbers : allies, 0 : nobody, - numbers : enemies

	public Board() {
		square = new int[Constants.BOARD_HEIGHT][Constants.BOARD_WIDTH];
		for (int i = 0; i < Constants.BOARD_HEIGHT; ++i) {
			for (int j = 0; j < Constants.BOARD_WIDTH; ++j) {
				square[i][j] = 0;
			}
		}
	}

	public int getSquare(int x, int y) {
		return square[x][y];
	}
	
	public void setSquare(int x, int y, int elem) {
		square[x][y] = elem;
	}
}
